package net.xdlass.controller;


import net.xdlass.service.NotifyService;
import net.xdlass.util.JsonData;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;


@RestController
@RequestMapping("/api/account/v1")
public class AccountController {
    @Autowired
    private NotifyService notifyService;

    @GetMapping("/send_code")
    public JsonData test(){
        notifyService.testSend();
        return JsonData.buildSuccess("发送成功");
    }


}

